package com.goods.business.mapper;

import com.goods.common.model.business.InStock;
import com.goods.common.model.business.InStockInfo;
import com.goods.common.vo.business.InStockVO;
import com.goods.common.vo.business.SupplierVO;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.Date;
import java.util.List;
import java.util.Map;


public interface InStockMapper extends Mapper<InStock> {


    List<InStockVO> findInSockList(@Param("param") Map<String,String> paramMap);

    List<InStockVO> selectExt(Long id,Integer status, Integer type, String inNum, Date startTime, Date endTime);

    SupplierVO selectSupplierVO(Long supplierId);

    void updateStatus(Long id, Integer code);
}
